﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="new.aspx.cs" Inherits="appleader_projects_new" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>新建评估项目</title>

    <script src="../../js/calendar.js" type="text/javascript"></script>
    <link href="../../css/main.css" rel="stylesheet" type="text/css" />
    <script src="../../My97DatePickerBeta/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
    <style type="text/css">
        .style1
        {
            text-align: right;
        }
        
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <div id="content">
            新建评估项目：<div id="new">
                <table style="width:100%;">
                    <tr>
                        <td class="style1">
                            项目名称：</td>
                        <td>
                            <asp:TextBox ID="tb_projectname" runat="server"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="rf1" runat="server" 
                                ErrorMessage="*必须输入" ControlToValidate="tb_projectname">*必须输入</asp:RequiredFieldValidator>
                        </td>
                        <td>
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td class="style1">
                            模型框架：</td>
                        <td>
                            <asp:DropDownList ID="DropDownList1" runat="server">
                                <asp:ListItem Selected="True">轻量级成熟度模型框架</asp:ListItem>
                            </asp:DropDownList>
                        </td>
                        <td>
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td class="style1">
                            使用模型：</td>
                        <td>
                            <asp:DropDownList ID="ddl_model" runat="server">
                            </asp:DropDownList>
                        </td>
                        <td>
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td class="style1">
                            使用评估方法：</td>
                        <td>
                            <asp:DropDownList ID="ddl_method" runat="server">
                            </asp:DropDownList>
                        </td>
                        <td>
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td class="style1">
                            开始时间：</td>
                        <td>
                        <div id="calendar">
                            <asp:TextBox ID="starttime" runat="server" 
                              onclick="new Calendar(2000,2030).show(this);"></asp:TextBox>
                        <img alt=""  src="../../images/datePicker.gif"  onclick="new Calendar(2000,2030).show(starttime);"
                            width="16" height="22" align="middle" /><asp:RequiredFieldValidator 
                                ID="RequiredFieldValidator2" runat="server" ControlToValidate="starttime" 
                                ErrorMessage="RequiredFieldValidator">请选择日期</asp:RequiredFieldValidator>
                            </div>
                            </td>
                        <td>
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td class="style1">
                            结束时间：</td>
                        <td>
                            <asp:TextBox ID="endtime" runat="server" 
                              onclick="new Calendar(2000,2030).show(this);"></asp:TextBox>
                        <img alt=""  src="../../images/datePicker.gif"  onclick="new Calendar(2000,2030).show(endtime);"
                            width="16" height="22" align="middle" />
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                                ControlToValidate="endtime" ErrorMessage="RequiredFieldValidator">请选择日期</asp:RequiredFieldValidator>
                            </td>
                        <td>
                           
                            </td>
                    </tr>
                    <tr>
                        <td class="style1">
                            描述：</td>
                        <td>
                            <asp:TextBox ID="tb_description" runat="server" TextMode="MultiLine"></asp:TextBox>
                            <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                                ErrorMessage="*请适量删减内容" ValidationExpression="^(\s|\S){0,100}$" 
                                ControlToValidate="tb_description">*请适量删减内容</asp:RegularExpressionValidator>
                        </td>
                        <td>
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td class="style1">
                            赋权方式：</td>
                        <td>
                            <asp:RadioButton ID="rb_direct" runat="server" Checked="True" GroupName="rb" 
                                Text="直接赋权" />
&nbsp;&nbsp;&nbsp;
                            <asp:RadioButton ID="rb_sort" runat="server" GroupName="rb" Text="序关系法" />
                        </td>
                        <td>
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td class="style1">
                            &nbsp;</td>
                        <td>
                            <asp:ImageButton ID="ImageButton2" runat="server" 
                                ImageUrl="~/images/save.gif" onclick="ImageButton2_Click" />
                        &nbsp;&nbsp;&nbsp;
                            <asp:ImageButton ID="ImageButton1" runat="server" 
                                ImageUrl="~/images/cancel.gif" />
                        </td>
                        <td>
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td class="style1">
                            &nbsp;</td>
                        <td>
                            &nbsp;</td>
                        <td>
                            &nbsp;</td>
                    </tr>
                </table>
            </div>
        </div>
    
    </div>
    </form>
</body>
</html>
